home *** CD-ROM | disk | FTP | other *** search
/ Enter Special 5: Digital Photography / ENTER Special 05.iso / Grafika / Paint Shop Pro 8.0 / psp800ev.exe / Data1.cab / Preset_BallsAndBubbles_Brown < prev    next >
Encoding:
Text File  |  2003-04-22  |  2.1 KB  |  66 lines

  1. from JascApp import *
  2.  
  3. def ScriptProperties():
  4.     return {
  5.         'Author': 'Kris Zaklika',
  6.         'Copyright': 'Copyright (C) 2002-2003, Jasc Software Inc., All Rights Reserved.',
  7.         'Description': 'An eyeball with a brown iris',
  8.         'Host': 'Paint Shop Pro',
  9.         'Host Version': '8.00'
  10.         }
  11.  
  12. def Preset_BallsAndBubbles():
  13.     return {
  14.         'Illumination': {
  15.             'MaxAmbience': 35, 
  16.             'MinAmbience': 0, 
  17.             'LightList': [{
  18.                 'BubbleLight': App.Constants.Boolean.false, 
  19.                 'Color': (81,81,81), 
  20.                 'Direction': (0.600537,0.799597,0.1), 
  21.                 'HighlightSize': 0
  22.                 },{
  23.                 'BubbleLight': App.Constants.Boolean.false, 
  24.                 'Color': (222,222,222), 
  25.                 'Direction': (0.17735,0.21735,-0.959847), 
  26.                 'HighlightSize': 5
  27.                 },{
  28.                 'BubbleLight': App.Constants.Boolean.false, 
  29.                 'Color': (85,75,75), 
  30.                 'Direction': (-0.54265,-0.58265,0.605021), 
  31.                 'HighlightSize': 35
  32.                 }]
  33.             }, 
  34.         'Mode': App.Constants.CountType.Single, 
  35.         'Multiple': {
  36.             
  37.             }, 
  38.         'Single': {
  39.             'MaxPossibleSize': App.Constants.Boolean.false
  40.             }, 
  41.         'Surface': {
  42.             'Material': {
  43.                 'Color': (255,255,255), 
  44.                 'Pattern': None, 
  45.                 'Gradient': None, 
  46.                 'Texture': None
  47.                 }, 
  48.             'BumpMap': {
  49.                 'Active': App.Constants.Boolean.false
  50.                 }, 
  51.             'EnvironmentMap': {
  52.                 'Active': App.Constants.Boolean.true, 
  53.                 'FileName': 'Brown eye', 
  54.                 'PatternOpacity': 100, 
  55.                 'EnvironmentType': App.Constants.BubbleMapType.Environment
  56.                 }, 
  57.             'Gloss': 50, 
  58.             'Opacity': 100, 
  59.             'Shininess': 46
  60.             }
  61.         }
  62.  
  63. def Do(Environment):
  64.     App.Do( Environment, 'BallsAndBubbles',         Preset_BallsAndBubbles())
  65.  
  66.